home *** CD-ROM | disk | FTP | other *** search
/ ftp.mactech.com 2010 / ftp.mactech.com.tar / ftp.mactech.com / machack / Hacks97 / WarriorsProgress.sit / Warrior’s Progress / source code / Source / Libraries / Context / ContextMaintainer.h < prev    next >
Text File  |  1997-06-28  |  549b  |  35 lines

  1. // ContextMaintainer.h
  2.  
  3. #ifndef ContextMaintainer_h
  4. #define ContextMaintainer_h
  5.  
  6. #ifndef ListLink_h
  7. #include "ListLink.h"
  8. #endif
  9. #ifndef ListOf_h
  10. #include "ListOf.h"
  11. #endif
  12.  
  13. class Context;
  14. class ContextUser;
  15.  
  16. class ContextMaintainer
  17.   {
  18.     private:
  19.         Context *old;
  20.         ListLink<ContextMaintainer> link;
  21.         
  22.         static ListOf<ContextMaintainer> maintainers;
  23.         
  24.     public:
  25.         ContextMaintainer();
  26.         ContextMaintainer( Context * );
  27.         ContextMaintainer( const ContextUser& );
  28.         
  29.         ~ContextMaintainer();
  30.         
  31.         static void StopMaintaining( Context * );
  32.   };
  33.  
  34. #endif
  35.